package cn.biplam.front.component.view.systemManage.modelset.callback;

import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.common.wrapper.Result;
import cn.biplam.common.wrapper.UserInfo;
import cn.biplam.front.callback.CallBack;
import cn.biplam.front.component.data.common.ButtonComp;
import cn.biplam.front.html.base.HtmlWindow;

/**
 * 数据源管理-操作按钮绑定器
 * @author Wangsong 2009-6-22下午03:59:24
 * @version 1.0
 */
public class ModelSetOperatorCallBack implements CallBack{

	public HtmlWindow[] getGroup(Result data, String homeUrl, UserInfo mUser)
	throws ErrorMessage {
		/** 创建按钮 */
		HtmlWindow[] opetator=new HtmlWindow[2];
		/** 删除*/
		opetator[0]=ButtonComp.get(mUser, "2");
		/** 修改*/
		opetator[1]=ButtonComp.get(mUser, "27");
		return opetator;
	}

}
